//
//  YYICellGeneratorViewController.m
//  CodeGenerator
//
//  Created by 丁玉松 on 2017/9/18.
//  Copyright © 2017年 Beijing Yingyan Internet Co., Ltd. All rights reserved.
//

#import "YYICellGeneratorViewController.h"
#import "CellGenerator.h"

#define view_tag_write 100

@interface YYICellGeneratorViewController ()
@property (weak) IBOutlet NSTableView *tableView;

@end

@implementation YYICellGeneratorViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    

    // Do view setup here.
}



- (IBAction)itemClick:(id)sender {
    NSButton *btn = (NSButton *)sender;
    NSInteger viewTag = btn.tag;
    switch (viewTag) {
        case view_tag_write:
        {//
            CellGenerator *generator = [[CellGenerator alloc] init];
            [generator yyi_writeAPIWithClsName:@"YYIDepositTargetCell" parameterArray:nil toFilePath:_filePath functionDesi:nil];

        }
            break;
        default:
            break;
    }
}


@end
